package com.iflytek.ssm.studentmanage.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.iflytek.ssm.util.ReturnUtil;

@RestController
public class TestController {

	private static final Logger log = LoggerFactory.getLogger(TestController.class);

	@RequestMapping("/test")
	public Object test() {
		log.info("start 打印info日志！！！");
		// ....

		log.info("end");
		return ReturnUtil.success("查询成功", "hello ssm!");
	}

}
